<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 关键字： var for while do continue witch if case default break
    // continue 就是在循环里放着，当我们在循环体 *执行到continue* 就退出本次循环， 执行下一次循环

    var i = 1

    while(i <= 5) {
      if(i === 3) {
        i++
        continue
      }

      console.log(i)
      i++
     
    }

    // 1 2
  </script>
</body>
</html>